const express = require('express')
const server = express()
const PORT = '30001'

server.use(express.static('public'))

server.get('/', (req, res) => {
  res.json('im ok')
})

server.listen(PORT, function() {
  console.log('server run at：', PORT)
})
